package cn.home.sysmanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 健康标签对象 home_tag
 * 
 * @author homedoctor
 * @date 2025-04-09
 */
public class HomeTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagName;

    /** 添加人 */
    @Excel(name = "添加人")
    private String addPeople;

    /** 最后修改时间2020/10/09 10:09:09 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后修改时间2020/10/09 10:09:09", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lasteditItime;

    /** 使用状态：0启用 1禁用 */
    @Excel(name = "使用状态：0启用 1禁用")
    private Long status;

    /** 扩展1 */
    private String exp1;

    /** 扩展2 */
    private String exp2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }

    public void setAddPeople(String addPeople) 
    {
        this.addPeople = addPeople;
    }

    public String getAddPeople() 
    {
        return addPeople;
    }

    public void setLasteditItime(Date lasteditItime) 
    {
        this.lasteditItime = lasteditItime;
    }

    public Date getLasteditItime() 
    {
        return lasteditItime;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setExp1(String exp1) 
    {
        this.exp1 = exp1;
    }

    public String getExp1() 
    {
        return exp1;
    }

    public void setExp2(String exp2) 
    {
        this.exp2 = exp2;
    }

    public String getExp2() 
    {
        return exp2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagName", getTagName())
            .append("addPeople", getAddPeople())
            .append("lasteditItime", getLasteditItime())
            .append("status", getStatus())
            .append("exp1", getExp1())
            .append("exp2", getExp2())
            .toString();
    }
}
